<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/taglibs.jsp"%>
<script type="text/javascript" charset="UTF-8" src="../js/jquery-ui-1.7.2.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="../css/jquery-ui-1.7.2.custom.css"/>
<script type="text/javascript">

</script>
<h1>订单管理</h1>
<div class="f-link"><a href="view.do?orderId=${order.orderId}">回订单页</a></div>
<br><br><form action="updateInvoice.do" name="orderForm" id="orderForm" method="post">
<table width="100%" border="1" cellspacing="0" cellpadding="0" class="tb-data">
  <tr>
    <td height="30" align=left><b>订单编号：</b> ${order.orderId} </td>
    <td align=left><b>订购人：</b>${order.memberName}</td>
    <td align=left><b>订单状态：${orderStMenu.options[order.orderSt].name}</b></td>
    <td align=left><b>订购日期：</b><fmt:formatDate pattern="yyyy/MM/dd HH:mm:ss" value="${order.orderDt}" /></td>
  </tr>
  <tr>
    <td height="30" align=left><b>付款方式：</b>${paymentTpMenu.options[order.paymentTp].name}</td>
    <td align=left><b>付款状态：</b>${paymentStMenu.options[order.paymentSt].name}</td>
    <td align=left><b>寄送方式：</b>${order.receiverTp}</td>
    <td align=left><b>订单来源：</b>${order.channel}</td>
  </tr>
  <tr>
    <td height="30" align=left><b>原始发票抬头：</b>${order.invoiceTitle}
    </td>
    <td align=left><b>新发票抬头：</b>
    <input type="text" name="invoiceTitle" id="invoiceTitle" value="${order.invoiceTitle}"/></td>
    <td align=left><b>发票日期：</b><fmt:formatDate pattern="yyyy/MM/dd HH:mm:ss" value="${order.invoiceDt}" /></td>
    <td align=left><b>付款期限：</b><font color="#ff3300"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${order.deadline}" /></font></td>
  </tr>
 <tr>
    <td height="30" colspan="4" align=center>
      <input type="submit" name="button" id="button" value="送出" />
      <input type="reset" name="button2" id="button2" value="重設" />
    </b>
    <input type="hidden" name="orderId" id="orderId" value="${order.orderId}"/></td>
    </tr>
</table>
</form>
<div class="f-link">
	<a href="view.do?orderId=${order.orderId}">回订单查询页</a>
</div>